.class Les/gq$b;
.super Landroid/content/BroadcastReceiver;
.source "SceneScreenManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Les/gq;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x2
    name = "b"
.end annotation


# instance fields
.field private a:Ljava/lang/String;

.field final synthetic b:Les/gq;


# direct methods
.method private constructor <init>(Les/gq;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/gq$b;->b:Les/gq;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    const/4 p1, 0x0

    .line 2
    iput-object p1, p0, Les/gq$b;->a:Ljava/lang/String;

    return-void
.end method

.method synthetic constructor <init>(Les/gq;Les/gq$a;)V
    .locals 0

    .line 3
    invoke-direct {p0, p1}, Les/gq$b;-><init>(Les/gq;)V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 1

    .line 1
    invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Les/gq$b;->a:Ljava/lang/String;

    const-string p2, "android.intent.action.SCREEN_ON"

    .line 2
    invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    const-string p2, "sceneScreen"

    if-eqz p1, :cond_0

    const-string p1, "\u5f00\u5c4f"

    .line 3
    invoke-static {p2, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 4
    :cond_0
    iget-object p1, p0, Les/gq$b;->a:Ljava/lang/String;

    const-string v0, "android.intent.action.SCREEN_OFF"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_1

    const-string p1, "\u9501\u5c4f"

    .line 5
    invoke-static {p2, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 6
    iget-object p1, p0, Les/gq$b;->b:Les/gq;

    const/4 p2, 0x0

    invoke-static {p1, p2}, Les/gq;->a(Les/gq;Z)Z

    goto :goto_0

    .line 7
    :cond_1
    iget-object p1, p0, Les/gq$b;->a:Ljava/lang/String;

    const-string v0, "android.intent.action.USER_PRESENT"

    invoke-virtual {v0, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_2

    const-string p1, "\u89e3\u9501"

    .line 8
    invoke-static {p2, p1}, Lcom/estrongs/android/util/n;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 9
    iget-object p1, p0, Les/gq$b;->b:Les/gq;

    const/4 p2, 0x1

    invoke-static {p1, p2}, Les/gq;->a(Les/gq;Z)Z

    .line 10
    invoke-static {}, Les/wp;->g()Les/wp;

    move-result-object p1

    const/4 p2, 0x3

    invoke-virtual {p1, p2}, Les/wp;->b(I)V

    :cond_2
    :goto_0
    return-void
.end method
